package com.ygs.secs.service;

import java.util.List;

import com.ygs.secs.model.Enterprise;
import com.ygs.secs.model.EnterprisePhoto;
import org.apache.ibatis.annotations.Param;

public interface EnterpriseService {


    int deleteByPrimaryKey(String enterpriseid);

    int insert(Enterprise record);

    int insertSelective(Enterprise record);

    Enterprise selectByPrimaryKey(String enterpriseid);

    int updateByPrimaryKeySelective(Enterprise record);

    int updateByPrimaryKey(Enterprise record);

    int updateBatch(List<Enterprise> list);

    int updateBatchSelective(List<Enterprise> list);

    int batchInsert(List<Enterprise> list);

    int updatepwd(Enterprise enterprise);

    Enterprise getcompanyDetail(String priseid);

    List<Enterprise> getlatestEnterpriseList();

    List<Enterprise> getfamousEnterpriseList();

    List<Enterprise> findUncertifiedCompanies(String authcode);

    int batchReviewCompanies(String[] commpanys, String status,String vtime);

    int batchDelete(String[] enterprises);

    List<Enterprise> getEnterpriseByAttributes(Enterprise record);
}



